<?php

namespace App\Http\Controllers;


class DocController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    public function index()
    {
        $file = file_get_contents(base_path().'/doc/api.md');
        $parser = new \Parsedown();
        echo $parser->parse($file);
    }

}
